import request from "../utils/request";


/**
  * @author: 志勇
  * @Description: 获取主页轮播图的接口
  * @param 
  */

export const findBanner = () => {
  return request('/mall-api/index/findBanner')
}


/**
  * @author: 志勇
  * @Description: 获取主页导航的列表数据
  * url: /mall-api/index/findCategory1
  * @param 
  */


export const findCategory1 = () => {
  return request('/mall-api/index/findCategory1')
}


/**
  * @author: 志勇
  * @Description: 获取猜你喜欢
  * url: /mall-api/index/findListGoods
  * @param 
  */


export const findListGoods = () => {
  return request('/mall-api/index/findListGoods')
}


/**
  * @author: 志勇
  * @Description: 获取主页人气推荐
  * url: /mall-api/index/findRecommendGoods
  * @param 
  */

export const findRecommendGoods = () => {
  return request('/mall-api/index/findRecommendGoods')
}
